<div class="pageContent">	
    <form method="post" action="__CONTROLLER__/edit?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden"  id='hidden'  name='id' value="<{$price.id}>"/>
        <div class="pageFormContent" layoutH="58">
           
            <div class="unit">
                <label>材料：</label>
                    <neq name='sign' value=''>
                        
                    <else/>
                        <select class="" name="materialId" style="width: 115px;">
                            <foreach name="material" item="list">
                                <option value="<{$list.id}>" <if condition="$list['id'] eq $price['materiald']">selected</if>><{$list.name}></option>
                            </foreach>
                        </select>
                    </neq>
            </div>
            
             <!--
            <div class="unit">
                <label>材料：</label>
                <dd>
                    <input id="inputOrg1" name="org1.id" value="" type="hidden"/>
                    <input class="required" name="org1.name" type="text" postField="keyword" suggestFields="id,name" 
                           suggestUrl="__CONTROLLER__/tree" lookupGroup="org1" value="<{$list.org1.name}>"/>
                    <a class="btnLook" href="__CONTROLLER__/tree" lookupGroup="org1">查找带回</a>	

                </dd>
            </div>
             -->
            <div class="unit">
                <label>等级：</label>                
                <select class="" name="level" style="width: 115px;">
                    <option value="1" >优级品</option>
                    <option value="2" >一级品</option>
                    <option value="3" >二级品</option>
                </select>
            </div>
            <div class="unit">
                <label>供应地区：</label>
                <select class="combox" name="province" ref="w_combox_city" refUrl="__MODULE__/Area/ajaxShowCity/id/{value}">
                    <option value="">所在省</option>
                    <foreach name="provinceData" item="item" >
                        <option <eq name="areaInfo['province']" value="$item['province']">selected</eq> value="<{$item.id}>"><{$item.province}></option>
                    </foreach>
                </select>
                <select class="combox" name="city" id="w_combox_city" ref="w_combox_region" refUrl="__MODULE__/Area/ajaxShowArea/id/{value}">
                    <option value="">所在城市</option>
                    <neq name='cityData' value=''>
                        <foreach name="cityData" item="item" >
                            <option value="<{$item.id}>" <eq name="areaInfo['city']" value="$item['city']">selected</eq>><{$item.city}></option>
                        </foreach>
                    </neq>
                </select>
            </div>
             <div class="unit">
                <label>产地：</label>
                 <select class="combox" name="regionType">   
                    <foreach name="region" item="item" >
                        <option value="<{$item.id}>" <eq name="price['regiontype']" value="$item['name']"> selected</eq>><{$item.name}></option>
                    </foreach>                   
                </select>
            </div>
            <div class="unit">
                <label>报价机构：</label>
                <input type="text" name="offerCompanyName" size="15"  value="<{$price.offercompanyname}>" class='required' />
            </div>
            <div class="unit">
                <label>报价：</label>
                <input type="text" name="offerPrice" size="15"  value="<{$price.offerprice}>" class='required' />
            </div>
             <div class="unit">
                <label>单位：</label>
                <input type="text" name="unit" size="15"  value="<{$price.unit}>" class='required' />
            </div>
            <gt name="Think.session.type" value="1">
                <neq name="buyInfo['id']" value=''>
                    <div class="unit">
                        <label style="width: 108px;">是否置顶：</label>
                        <label style="width: 38px;"><input type="radio" name="top" value="1" />是</label>
                        <label><input type="radio" name="top" value='0' checked/>否</label> 
                    </div>
                </neq>
            </gt>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>	
</div>
